import { defineStore } from 'pinia'
import { ref } from 'vue'
const useRouterStore = defineStore("router", () => {
    //用于判断是否第一次加载路由
    let isGetterRouter = ref(false)
    const changeRouter = (value) => {
        isGetterRouter.value = value
    }
    return {isGetterRouter,changeRouter}
})
export default useRouterStore